package com.balabala.gym_system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_reservation")
public class ReservationList implements Serializable {


    //主键
    @TableId(type = IdType.AUTO)
    private Long id;

    //课程id
    private String courseId;

    //教练id
    private  String coachName;

    //场馆id
    private Long venueId;


    //开始时间
    private Date startTime;

    //结束时间
    private Date endTime;

    //计划人数
    private Integer planMax;

    //已预约人数
    private Integer planNum;

}
